package com.liyz.testmodule.feign.fallback;


import com.liyz.common.util.R;
import com.liyz.common.vo.UserVO;
import com.liyz.testmodule.feign.UserClient;
import org.springframework.stereotype.Service;

@Service
public class UserClientFallback implements UserClient {
    @Override
    public UserVO get(Integer id) {
        UserVO user = new UserVO();
        user.setId(-1);
        return user;
    }
}
